package com.blog.model;

import java.util.Date;

public class CollectionInfo {
	private String collectionId;
	private UserInfo userId;
	private ArticleInfo articleId;
	private Date time;
	public String getCollectionId() {
		return collectionId;
	}
	public void setCollectionId(String collectionId) {
		this.collectionId = collectionId;
	}
	public UserInfo getUserId() {
		return userId;
	}
	public void setUserId(UserInfo userId) {
		this.userId = userId;
	}
	public ArticleInfo getArticleId() {
		return articleId;
	}
	public void setArticleId(ArticleInfo articleId) {
		this.articleId = articleId;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public CollectionInfo(String collectionId, UserInfo userId,
			ArticleInfo articleId, Date time) {
		super();
		this.collectionId = collectionId;
		this.userId = userId;
		this.articleId = articleId;
		this.time = time;
	}
	public CollectionInfo() {
		super();
	}
	
	
}
